package com.zhaolin.service;

import com.zhaolin.entity.Admin;


import java.util.List;

public interface adminService {
    public int create(Admin pi);

    public int delete(Integer id);

    public int deleteBatch(String ids);

    public int update(Admin admin);

    public List<Admin> query(Admin admin);

    public Admin detail(Integer id);

    public int count(Admin admin);

    public Admin login(String account,String password);
}
